![]() |
PATH![]() |
![]() ![]() |
Under Appearance Manager 1.1 and later, when the user changes the current appearance (that is, when a theme switch occurs), the Appearance Manager may send any of the following Apple events to all running applications that are high-level event aware and which are registered as clients of the Appearance Manager. Your application registers itself with the Appearance Manager by calling the function RegisterAppearanceClient .
Because typical results of a theme switch might include a change in menu bar height or window structure dimensions, as well as changes to the system fonts, colors, and patterns that are currently in use, applications should listen for and respond to the Appearance Manager Apple events under most circumstances. Note that none of the Appearance Manager Apple events have parameters and that the return value for each is ignored.
enum {
kAppearanceEventClass = 'appr',
kAEAppearanceChanged = 'thme',
kAESystemFontChanged = 'sysf',
kAESmallSystemFontChanged = 'ssfn',
kAEViewsFontChanged = 'vfnt'
};